
# 结算以及提交订单页面

from selenium.webdriver.common.by import By


class SettlePage():

    # 点击去结算
    settle = (By.LINK_TEXT,"去结算")

    # 提交订单
    sumbit_order = (By.CSS_SELECTOR,"a[onclick='submit_order();']")

    # 确认支付方式 ： 货到付款
    pay_way = (By.CSS_SELECTOR,"input[value='pay_code=cod']")

    # 点击确认支付
    confirm_pay = (By.CLASS_NAME,"button-confirm-payment")